<extend name="Base/common"/>

<block name="body">
    <section class="container" style="margin-top: 15px">
        <div class="row">
            <div class="col-xs-12">
            <div class="well">
                <h2>关键词"{$keyword}"的搜索结果</h2>
            </div>
                </div>
        </div>

        <div class="row">
            <div class="col-xs-12">
                <div class="panel panel-default">
                    <div class="panel-body">
                        <notempty name="list">
                            <volist name="list" id="vo">
                                <neq name="i" value="1">
                                    <hr/>
                                </neq>
                                <h3><a href="{:U('Home/Article/detail/id/'.$vo['id'])}" target="_self">{$vo.title}</a></h3>
                                <p>{$vo.description}</p>
                            </volist>
                        <else />
                            <div class="alert alert-danger" role="alert">
                                :( 抱歉，没有找到相关内容
                            </div>
                        </notempty>
                    </div>
                </div>
            </div>

        </div>

    </section>

    <notempty name="page">
        <div class="container">
            <div class="row">
                <div class="col-xs-12">
                    <div class="page-bar">
                        {$page}
                    </div>
                </div>
            </div>
        </div>
    </notempty>
</block>
